package com.system.service.impl;

import com.system.mapper.AccidentMapper;
import com.system.po.AccidentType;
import com.system.service.AccidentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AccidentServiceImpl implements AccidentService {

    @Autowired
    private AccidentMapper accidentMapper;
    @Override
    public List<AccidentType> selectAccidentList() {

        return accidentMapper.selectAccidentList();
    }
}
